<?php
include($_SERVER['DOCUMENT_ROOT']."/inc/Function_index.php");
$info = userinfo();
if($info['pwdshow']){
    updateuser($info['Id'],'pwdshow');
    $tpl->assign("info",$info);
    $tpl->show("success");
}else{
    echo "<script>window.location.href='/user/';</script>";
}

?>